#include<stdio.h>
int main(int argc, char const *argv[])
{
    //整型
    int _int = 10;
    long int log_int = 10;
    short sho_int = 10;
    char ch = 10;
   
    //浮点型
    float flo = 10;
    double dou = 10;
    long double lon_dou = 10;

    printf("int 占用空间大小为 %ld \n" , sizeof(_int));
    printf("char 占用空间大小为 %ld \n" , sizeof(ch));
    printf("long int 占用空间大小为 %ld \n" , sizeof(log_int));
    printf("short int 占用空间大小为 %ld \n" , sizeof(sho_int));
    printf("float 占用空间大小为 %ld \n" , sizeof(flo));
    printf("double  占用空间大小为 %ld \n" , sizeof(dou));
    printf("long double  占用空间大小为 %ld \n" , sizeof(lon_dou));

    
    return 0;
}
